/* 隐藏中间4位实现 */
const hidden = {
  mounted(el, binding) { // beforeMount
    const val = el.innerHTML
    el.innerHTML = val.replace(/(.{3}).*(.{4})/, '$1****$2')
  }
}

export default hidden
